#ifndef __BEAGLETHREAD_H
#define __BEAGLETHREAD_H

#include "Common.h"
#include "IThread.h"

class BeagleThread : public IThread{
private:
    Motor* _jib;
    Motor* _main;
    Motor* _portRudder;
    Motor* _stbdRudder;

    WindSensor* _windSensor;
    Compass* _compass;
    int _lastAutonomyState;

public:
    BeagleThread(Motor* main, Motor* jib, Motor* portRudder, Motor* stbdRudder, WindSensor* windSensor);

    void run();
};

#endif // __BEAGLETHREAD_H
